﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Sys.WebRes.Publish.Areas.Admin.Models.ResourceModel>" %>
<tr><td class="editor-label">
    <label for="">作成信息</label>
</td>
<td class="editor-field">
    <table>
        <tr>
            <th class="w50">作者</th>
            <td><%= Html.TextBoxFor(model => model.Author) %></td>
            <th class="w50">日期</th>
            <td><%= Html.TextBoxFor(model => model.MadeDate, 
                    new { @class = "easyui-datetimebox",
                            @value = String.Format("{0:g}", Model.MadeDate) })%>
            </td>
        </tr>
        <tr>
            <th class="w50">录入</th>
            <td>
                <%=Html.DropDownListFor(model => model.CreatorID, SelectItemFactory.Users())%>
            </td>
            <th class="w50">日期</th>
            <td><%= Html.TextBoxFor(model => model.CreateDate, 
                    new { @class = "easyui-datetimebox", 
                            @value = String.Format("{0:g}", Model.CreateDate) })%>
            </td>
        </tr>
        <tr>
            <th class="w50">编辑</th>
            <td>
                <%=Html.DropDownListFor(model => model.EditorID, SelectItemFactory.Users())%>
            </td>
            <th class="w50">日期</th>
            <td><%= Html.TextBoxFor(model => model.UpdateDate,
                    new { @class = "easyui-datetimebox", 
                            @value = String.Format("{0:g}", Model.UpdateDate)
                    })%>
            </td>
        </tr>
    </table>
</td>
</tr>